Benjamin Otte [Tue, 12 May 2015 16:27:19 +0000 (18:27 +0200)]
box: Fix RTL styling
Matthias Clasen [Tue, 12 May 2015 12:24:52 +0000 (08:24 -0400)]
GtkPrintUnixDialog: Avoid deprecated properties
Not needed here at all.
Matthias Clasen [Tue, 12 May 2015 12:22:56 +0000 (08:22 -0400)]
GtkPageSetupUnixDialog: Avoid deprecated properties
Not needed at all.
Matthias Clasen [Tue, 12 May 2015 12:20:35 +0000 (08:20 -0400)]
gtk3-demo: Add a page setup example
This mainly so I can fix deprecation warnings in the
page setup dialog.
Matthias Clasen [Tue, 12 May 2015 11:57:04 +0000 (07:57 -0400)]
GtkPopover: Clean up default widget on dispose
We forgot to drop the ref we take. Thankfully our
tests caught this.
Matthias Clasen [Tue, 12 May 2015 11:44:44 +0000 (07:44 -0400)]
Docs: Typo fix
Matthias Clasen [Tue, 12 May 2015 11:44:21 +0000 (07:44 -0400)]
Fix a11y tests
The output of the about dialog test is affected by the keynav
fixes.
Matthias Clasen [Tue, 12 May 2015 11:40:47 +0000 (07:40 -0400)]
Quiet the bitmask test
Don't spew so many 0s and 1s.
Ting-Wei Lan [Tue, 12 May 2015 02:23:59 +0000 (10:23 +0800)]
Fix return value error in gtk_font_chooser_get_font_map
https://bugzilla.gnome.org/show_bug.cgi?id=749248
Matthias Clasen [Tue, 12 May 2015 03:06:50 +0000 (23:06 -0400)]
gtk-demo: Don't rely on gdk_cursor_get_image
This function is only implemented on X11. Instead,
just use a fixed set of cursor images from resources.
Matthias Clasen [Sun, 10 May 2015 03:53:45 +0000 (23:53 -0400)]
quartz: Support css cursor names
We want these to work across platforms, so do a best-effort
approximation. We could do much better here by copying what
webkit does.
https://bugzilla.gnome.org/show_bug.cgi?id=749178
Matthias Clasen [Tue, 12 May 2015 02:13:07 +0000 (22:13 -0400)]
Avoid a critical under weston
The ordering of globals in connection setup under weston
is different from mutter, and we end up creating a the
dnd window before any outputs are present. Don't cause
a critical warning in that case.
Matthias Clasen [Tue, 12 May 2015 00:03:08 +0000 (20:03 -0400)]
GtkFontChooser: Refine 'no matches' pages
Use a better icon, and put the text below.
Matthias Clasen [Mon, 11 May 2015 23:44:30 +0000 (19:44 -0400)]
GtkFileChooser: Refine 'no matches' page
Use a better icon, and put the text below.
Lars Uebernickel [Fri, 10 Apr 2015 15:18:50 +0000 (17:18 +0200)]
Allow overriding WM_CLASS from the command line
Even when the program itself calls gdk_set_program_class(). There's
currently no way for this function to be called without breaking gdk's
--class command line option, because you cannot call it before
gtk_init().
https://bugzilla.gnome.org/show_bug.cgi?id=747634
Matthias Clasen [Mon, 11 May 2015 01:01:47 +0000 (21:01 -0400)]
gtk-demo: Port builder example away from GtkUIManager
This makes gtk3-demo deprecation-free.
Matthias Clasen [Mon, 11 May 2015 01:00:08 +0000 (21:00 -0400)]
gtk-demo: Remove an unncessary define
The changedisplay example no longer uses and deprecated
API, so don't disable deprecations.
Cédric Valmary [Sun, 10 May 2015 19:44:36 +0000 (19:44 +0000)]
Updated Occitan translation
Matthias Clasen [Sun, 10 May 2015 19:37:47 +0000 (15:37 -0400)]
Forgotten file
Piotr Drąg [Sun, 10 May 2015 16:10:11 +0000 (18:10 +0200)]
Updated POTFILES.in
Matthias Clasen [Sun, 10 May 2015 06:35:52 +0000 (02:35 -0400)]
GtkAdjustment: Deprecate some redundant API
Both gtk_adjustment_changed and gtk_adjustment_value_changed
are unnecessary every since we've sealed the GtkAdjustment
struct.
https://bugzilla.gnome.org/show_bug.cgi?id=619493
Matthias Clasen [Sun, 10 May 2015 06:35:07 +0000 (02:35 -0400)]
GtkIconView: Stop using gtk_adjustment_changed
This should not be needed at all.
Matthias Clasen [Sun, 10 May 2015 06:34:33 +0000 (02:34 -0400)]
GtkSpinButton: Stop using gtk_adjustment_value_changed
This is just an unnecessary indirection.
Matthias Clasen [Sun, 10 May 2015 06:10:21 +0000 (02:10 -0400)]
Trivial formatting fixes
Matthias Clasen [Sun, 10 May 2015 05:30:38 +0000 (01:30 -0400)]
input methods: Add a 'vertical text' hint
This has been requested in
https://bugzilla.gnome.org/show_bug.cgi?id=747150
Matthias Clasen [Sun, 10 May 2015 05:05:52 +0000 (01:05 -0400)]
Revert "Work around a pkg-config bug"
This reverts commit
57751fa391fce8b9f208c41260e8968dd4cdc800.
I've been told that this is not, in fact, a pkg-config bug,
but a pkg-config feature.
Philip Chimento [Thu, 9 Apr 2015 06:31:51 +0000 (23:31 -0700)]
quartz: Non-implementation of GdkGLContext
This makes sure the Quartz backend returns an error when asked to create
a GL context, rather than crashing because of a NULL vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=740199
Balázs Meskó [Sat, 9 May 2015 12:44:41 +0000 (12:44 +0000)]
Updated Hungarian translation
Gábor Kelemen [Sat, 9 May 2015 12:43:46 +0000 (12:43 +0000)]
Updated Hungarian translation
Alexandre Franke [Sat, 9 May 2015 09:49:18 +0000 (09:49 +0000)]
Updated French translation
Alexandre Franke [Sat, 9 May 2015 08:31:37 +0000 (08:31 +0000)]
Updated French translation
Matthias Clasen [Sat, 9 May 2015 06:18:01 +0000 (02:18 -0400)]
Font chooser: Hide size controls with 'no match'
The preview entry previews a font despite there being
no results, that makes no sense.
Matthias Clasen [Sat, 9 May 2015 06:06:28 +0000 (02:06 -0400)]
Font chooser: Nice 'not found' message
This copies the style that is used in the file chooser
now.
Matthias Clasen [Sat, 9 May 2015 05:58:32 +0000 (01:58 -0400)]
Font chooser: Also apply font map to preview
Otherwise, the preview is not showing a selected custom font.
Matthias Clasen [Fri, 8 May 2015 18:21:11 +0000 (14:21 -0400)]
docs: Show less ugly X cursors
Don't list examples in the gdk_cursor_new_for_display() docs,
since we now have a list of recommended names for the
from_name() call.
Matthias Clasen [Fri, 8 May 2015 17:19:14 +0000 (13:19 -0400)]
gtk-demo: Drop cursor name fallback code
GdkCursor itself will now do whats necessary to support these
names.
Matthias Clasen [Fri, 8 May 2015 13:55:28 +0000 (09:55 -0400)]
Update docs
Matthias Clasen [Fri, 8 May 2015 13:38:56 +0000 (09:38 -0400)]
Wayland: Make css cursor names work
Map css cursor names to traditional X cursor names to increase
our chance of finding a good cursor in the cursor theme.
Matthias Clasen [Fri, 8 May 2015 13:37:39 +0000 (09:37 -0400)]
X11: Make css cursor names work
Map css cursor names to traditional X cursor names to increase
our chance of finding a good cursor in the cursor theme.
Matthias Clasen [Fri, 8 May 2015 13:00:15 +0000 (09:00 -0400)]
Wayland: trivial reshuffle
Avoid a forward declaration by moving things around.
Lionel Landwerlin [Sun, 3 May 2015 10:38:45 +0000 (11:38 +0100)]
gdk: define GdkRectangle structure for introspection scanning
https://bugzilla.gnome.org/show_bug.cgi?id=748833
Sjoerd Simons [Wed, 6 May 2015 10:39:14 +0000 (12:39 +0200)]
notify test: Don't test object relying on dbus connections
Don't test types that rely on a pre-existing dbus session bus.
https://bugzilla.gnome.org/show_bug.cgi?id=749009
Matthias Clasen [Fri, 8 May 2015 02:36:00 +0000 (22:36 -0400)]
GtkRecentChooser: Use a better busy cursor
Matthias Clasen [Fri, 8 May 2015 02:24:19 +0000 (22:24 -0400)]
GtkPrintUnixDialog: Use a better busy cursor
Matthias Clasen [Fri, 8 May 2015 02:07:41 +0000 (22:07 -0400)]
GtkProgressBar: Adjust docs to new style
Don't talk about superimposed text, since we don't do that
anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=748784
Matthias Clasen [Fri, 8 May 2015 00:01:14 +0000 (20:01 -0400)]
gtk3-demo: Add a cursors demo
Matthias Clasen [Thu, 7 May 2015 22:29:04 +0000 (18:29 -0400)]
testgtk: Add new Adwaita cursor names
Matthias Clasen [Thu, 7 May 2015 22:28:39 +0000 (18:28 -0400)]
GtkFontChooser: Use a GtkStack
Garrett Regier [Wed, 6 May 2015 05:24:16 +0000 (22:24 -0700)]
GtkFontChooserWidget: Remove unused struct field
This was added accidentally in a recent patch.
Signed-off-by: Garrett Regier <garrettregier@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=748992
Jonas Ådahl [Thu, 7 May 2015 15:06:32 +0000 (23:06 +0800)]
GtkWindow: Manually set CSD should enable shadow width calculation
If CSD is enabled with shadow even though it "shouldn't"*, the width
should still be calculated correctly. This fixes a regression caused by
b1e5ad469c753ea3eed967056ca814ecb0117c7b.
* gtk_window_should_use_csd () returns false
https://bugzilla.gnome.org/show_bug.cgi?id=748615
Petr Kovar [Thu, 7 May 2015 14:19:05 +0000 (16:19 +0200)]
Update Czech translation
Debarshi Ray [Wed, 6 May 2015 13:19:55 +0000 (15:19 +0200)]
GtkStack: Don't emit notify::visible-child during destruction
https://bugzilla.gnome.org/show_bug.cgi?id=749012
Matthias Clasen [Thu, 7 May 2015 11:32:40 +0000 (07:32 -0400)]
GtkFontChooser: Add an example to the docs
Matthias Clasen [Tue, 5 May 2015 03:21:17 +0000 (23:21 -0400)]
GtkFontChooser: Allow a custom font map
This lets applications show their own fonts instead of
or in addition to system fonts.
https://bugzilla.gnome.org/show_bug.cgi?id=748771
Jakub Steiner [Thu, 7 May 2015 08:16:46 +0000 (10:16 +0200)]
Adwaita: tone down popover dropshadow
Debarshi Ray [Wed, 6 May 2015 14:53:43 +0000 (16:53 +0200)]
GtkStackSwitcher: Don't emit notify::visible-child when setting a stack
Synchronizing the visible child with the switcher's toggle buttons can
lead to GtkButton::clicked being emitted twice. Once for the button
that was active before, and once for the button that we just activated.
This leads to notify::visible-child being called twice and one of
them is with the wrong child.
Let's deal with this in the same way we handle the visible child
changing underneath us.
https://bugzilla.gnome.org/show_bug.cgi?id=749021
William Hua [Wed, 6 May 2015 14:27:03 +0000 (10:27 -0400)]
mir: handle generic input events
Jonas Ådahl [Wed, 29 Apr 2015 07:08:44 +0000 (15:08 +0800)]
GtkWindow: Get the correct shadow width even before window is realized
The window state 'client_decorated' will only be set the window is being
realized. If anyone tries to get the shadow size before that it'd get
the with as if there always was no shadow.
This avoids negative sized opaque regions caused by the allocation being
smaller than shadow.
https://bugzilla.gnome.org/show_bug.cgi?id=748615
Yuri Myasoedov [Wed, 6 May 2015 10:38:01 +0000 (13:38 +0300)]
Fixed Russian translation
Christian Hergert [Tue, 5 May 2015 19:19:10 +0000 (12:19 -0700)]
inspector: allow object read-only properties in prop-editor
If we have a GObject property that is also a GObject, we should be able
to view additional information on that object (even if the param spec
is read-only).
Matthias Clasen [Wed, 6 May 2015 04:52:23 +0000 (00:52 -0400)]
GtkFontChooserWidget: Listen for fontconfig changes
We were relying on indirectly getting notify when fontconfig
configuration changes, by GtkSettings translating the timestamp
change into a style-invalidation, which gets fed through the
css invalidation machinery. That machinery has gotten good enough
at optimizing away redundant changes that it no longer emits
::style-updated in this case.
So, instead make the font chooser listen directly to what it
cares about: the fontconfig change notification from GtkSettings.
Emmanuele Bassi [Mon, 4 May 2015 12:28:14 +0000 (13:28 +0100)]
settings: Wayland-only systems also use fontconfig
We're relying on the X11 backend being compiled in, but that may not be
the case.
https://bugzilla.gnome.org/show_bug.cgi?id=748782
Emmanuele Bassi [Mon, 4 May 2015 12:25:27 +0000 (13:25 +0100)]
fontchooser: Use gtk-fontconfig-timestamp setting
We can use the GtkSettings:gtk-fontconfig-timestamp property to decide
whether or not we should reload fonts on style and screen changes. This
should avoid doing a lot of work with large font collections when only
the theme has changed.
https://bugzilla.gnome.org/show_bug.cgi?id=748782
Руслан Ижбулатов [Mon, 4 May 2015 17:18:35 +0000 (17:18 +0000)]
W32: Add a mapping for "left_ptr_watch" cursor
This is purely to support gdk_cursor_new_from_name().
In particular, its counterpart, gdk_cursor_new_for_display(), will not
be affected, because there's no GDK_LEFT_PTR_WATCH cursor type,
and because i don't have a fallback cursor bitmask for gdk/win32/xcursors.h
Руслан Ижбулатов [Mon, 4 May 2015 15:32:22 +0000 (15:32 +0000)]
Use GDK_KEY_KP_Decimal instead of GDK_KP_Decimal
Fixes the FTBFS introduced in
578043f97e891e423648c9f70ddf1d185f4615c4
Matthias Clasen [Mon, 4 May 2015 13:27:02 +0000 (09:27 -0400)]
Fix precondition in gtk_popover_get_default_widget
We need to return a value here.
Jakub Steiner [Mon, 4 May 2015 12:39:40 +0000 (14:39 +0200)]
HC: implement overlay scrollbar theming
while the behavior was in place, the specific theming for
overlay scrollbars was missing, and content was hidden.
Matthias Clasen [Mon, 4 May 2015 12:01:36 +0000 (08:01 -0400)]
Drop PANGO_ENABLE_BACKEND
Not needed for a long time now.
https://bugzilla.gnome.org/show_bug.cgi?id=748783
Matthias Clasen [Sun, 3 May 2015 00:49:17 +0000 (20:49 -0400)]
gtk3-widget-factory: Simplify ui file
Timm Bäder [Sun, 3 May 2015 10:19:18 +0000 (12:19 +0200)]
GtkPopover: Don't ref NULL widgets
gtk_window_get_default_widget returns NULL if the window does not have a
default widget, so don't ref it in that case.
Piotr Drąg [Sun, 3 May 2015 14:33:07 +0000 (16:33 +0200)]
Updated POTFILES.skip
Marek Černocký [Sun, 3 May 2015 11:51:14 +0000 (13:51 +0200)]
Updated Czech translation
Marek Černocký [Sun, 3 May 2015 11:49:35 +0000 (13:49 +0200)]
Updated Czech translation
Matthias Clasen [Fri, 17 Apr 2015 04:14:28 +0000 (00:14 -0400)]
file chooser: Set default widget in create folder popover
This is using the new default widget functionality for
popovers to make Enter in the entry activate the Create
button.
https://bugzilla.gnome.org/show_bug.cgi?id=747664
Matthias Clasen [Fri, 17 Apr 2015 04:10:06 +0000 (00:10 -0400)]
Add default widget handling to popovers
Add a new API, gtk_popover_set_default_widget, that can be
used to make a widget act as default while the popover is
shown. This is useful in dialog-like popovers.
http://bugzilla.gnome.org/show_bug.cgi?id=747664
Matthias Clasen [Sat, 2 May 2015 22:24:20 +0000 (18:24 -0400)]
GtkStatusbar: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:23:20 +0000 (18:23 -0400)]
GtkSearchBar: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:22:30 +0000 (18:22 -0400)]
GtkScaleButton: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:21:38 +0000 (18:21 -0400)]
GtkRecentChooserDefault: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:20:04 +0000 (18:20 -0400)]
GtkPrintUnixDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:17:38 +0000 (18:17 -0400)]
GtkPageSetupUnixDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:11:29 +0000 (18:11 -0400)]
GtkMessageDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:10:37 +0000 (18:10 -0400)]
GtkLockButton: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:05:15 +0000 (18:05 -0400)]
GtkInfoBar: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:04:30 +0000 (18:04 -0400)]
GtkFontChooserWidget: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:03:50 +0000 (18:03 -0400)]
GtkFontChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:03:08 +0000 (18:03 -0400)]
GtkFontButton: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:02:26 +0000 (18:02 -0400)]
GtkFileChooserWidget: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:01:04 +0000 (18:01 -0400)]
GtkFileChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:00:15 +0000 (18:00 -0400)]
GtkFileChooserButton: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:59:28 +0000 (17:59 -0400)]
GtkDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:57:28 +0000 (17:57 -0400)]
GtkColorEditor: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:56:40 +0000 (17:56 -0400)]
GtkColorChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:55:52 +0000 (17:55 -0400)]
GtkAssistant: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:53:26 +0000 (17:53 -0400)]
GtkAppChooserWidget: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:49:07 +0000 (17:49 -0400)]
GtkAppChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:39:56 +0000 (17:39 -0400)]
GtkActionBar: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:37:54 +0000 (17:37 -0400)]
gtk-builder-tool: Run the tests installed too
Matthias Clasen [Sat, 2 May 2015 21:21:31 +0000 (17:21 -0400)]
gtk-builder-tool: Add some tests
Matthias Clasen [Sat, 2 May 2015 18:41:02 +0000 (14:41 -0400)]
gtk-builder-tool: Some refactoring
Break out similar code into separate functions.